package com.cheyun.netsalev3.viewmodel

import android.content.Intent
import android.view.View
import com.cheyun.netsalev3.bean.dm.DmClueList
import com.cheyun.netsalev3.view.dm.detail.DmDetailsActivity

class DmListBaseViewModel(){
    fun onClickItem(view: View, item: DmClueList) {
        var intent = Intent(view.context, DmDetailsActivity::class.java)
        intent.putExtra("id",item.id.toString())
        view.context.startActivity(intent)
    }
}